package com.ruoyi.business.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生绑定对象 t_student_binding
 * 
 * @author lcz
 * @date 2025-02-27
 */
@Data
@ApiModel("学生绑定对象")
public class StudentBinding extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @ApiModelProperty("主键ID")
    private Long id;

    /** 学生ID */
    @Excel(name = "学生ID")
    @ApiModelProperty("学生ID")
    private Long studentId;

    /** 编码 */
    @Excel(name = "编码")
    @ApiModelProperty("编码")
    private String code;

    /** 测试场次ID */
    @Excel(name = "测试场次ID")
    @ApiModelProperty("测试场次ID")
    private Long testSessionId;

    /** 学校ID */
    @Excel(name = "学校ID")
    @ApiModelProperty("学校ID")
    private Long schoolId;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("studentId", getStudentId())
            .append("code", getCode())
            .append("testSessionId", getTestSessionId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("schoolId", getSchoolId())
            .toString();
    }
}
